package com.example.library.enums;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: asus
 * Date: 2024-12-20
 * Time: 23:33
 */
public enum ResultCode {
    SUCCESS(0),
    FAIL(-1),

    UNLOGIN(-2);

    ResultCode(int code) {
        this.code = code;
    }

    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
